package com.j4dream.webapp.model.common;

public class ResponseModel {

	private int code = 1;
	private String message = "";
	private Object data;

	public ResponseModel() {
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public void setResponseCodeFailure() {
		this.code = 2;
	}
}
